package com.mchina.myMaven.rest.dao.hibernate;

import com.mchina.myMaven.rest.bean.Employee;
import com.mchina.myMaven.rest.dao.EmployeeDao;
import org.hibernate.SessionFactory;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2010-7-8
 * Time: 13:21:53
 * T
 */
@Repository
public class EmployeeDaoImp extends BaseDaoImpl<Employee> implements EmployeeDao {
    @Resource(name = "sessionFactory")
    public void setSessionFactory(SessionFactory sessionFactory) {
        super.setSessionFactory(sessionFactory);
    }
}
